package com.chf.job.dao;

import com.chf.job.vo.ReleaseVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ReleaseVoMapper {
    ReleaseVo selectByEmailAndReleaseId(@Param("email") String email, @Param("releaseId") Integer releaseId);

    List<ReleaseVo> selectByEmail(String email);

    List<ReleaseVo> getInvalidPositionByEmail(String email);

    List<ReleaseVo> orderByClickNum();

    List<ReleaseVo> orderByUpdateTime();

    ReleaseVo getByReleaseId(Integer releaseId);

    List<ReleaseVo> getBySearchTypeAndPositName(@Param("search") String search, @Param("companySize") String companySize, @Param("experience") String experience, @Param("xingZhi") String xingZhi);
}
